package com.subject.auth.domain.covert;


import com.subject.auth.domain.entity.AuthUserBo;
import com.subject.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthUserBoConverter {

    AuthUserBoConverter INSTANCE = Mappers.getMapper(AuthUserBoConverter.class);

    AuthUser convertBoToEntity(AuthUserBo authUserBo);

    AuthUserBo  convertEntityToBO(AuthUser authUser);

    List<AuthUserBo> convertList(List<AuthUser> authUserList);
}
